import { createRouter, createWebHistory } from 'vue-router'
import jsView from '@/views/home/js.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    { path: '/', redirect: '/js' },
  { path: '/js', name: 'js', component: jsView, },

  ],
})

export default router
